﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERP.Manager.DataEntity
{
    /// <summary>
    /// 用户信息实体类
    /// </summary>
    public class UserInfo
    {
        public UserInfo()
        {
            DepartmentInfo = new DepartmentInfo();
        }

        //自动增长号
        public int id { get; set; }

        //用户编号
        public string userId { get; set; }

        //用户姓名
        public string userName { get; set; }

        //用户年龄
        public int age { get; set; }

        //用户地址
        public string address { get; set; }

        //用户性别
        public string sex { get; set; }

        //用户密码
        public string password { get; set; }

        //用户部门
        public DepartmentInfo DepartmentInfo { get; set; }

        //用户注册时间
        public DateTime startingTime { get; set; }

        //用户电话
        public string phoneNumber { get; set; }
    }
}
